import { createSSRApp } from 'vue';
import App from './App.vue';
import * as Pinia from 'pinia';
export function createApp() {
	const app = createSSRApp(App);
	app.use(Pinia.createPinia());
	const getToken = new Promise((resolve) => {
		app.config.globalProperties.$isResolve = resolve;
	});
	app.config.globalProperties.$getToken = getToken;
	return {
		app,
		Pinia
	};
}
